package com.panshi.handler;

/*@Component*/
public class MyBtisPlusAutoFillHandler /*implements MetaObjectHandler */{

    // 插入时的填充策略
/*    @Override
    public void insertFill(MetaObject metaObject) {

        this.setFieldValByName("createTime", new Date(), metaObject);

    }

    // 更新时的填充策略
    @Override
    public void updateFill(MetaObject metaObject) {

        this.setFieldValByName("updateTime", new Date(), metaObject);

    }*/
}
